<!--
 * @Description: 
 * @Version: 0.0
 * @Author: taosong
 * @Date: 2023-04-03 09:30:57
 * @LastEditors: taosong
 * @LastEditTime: 2023-04-04 13:22:07
-->
<template>
  <div>
    <m-badge :attrs="attrs">
      <template #default>
        <div style="width: 50px; height: 50px">kkkk</div>
      </template>
      <template #content>
        <div>随便显示点什么</div>
      </template>
    </m-badge>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue'

const attrs = ref({
  poptip: {
    placement: 'top-end'
  }
})
</script>

<style scoped></style>
